package com.demo.dao;

import com.demo.entity.News;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface NewsMapper {

    News findNewsById(Integer id);

    List<News> findAll();
}
